{% extends 'base.html' %}
{% block title %}用户注册{% endblock %}
{% block content %}
  <form class="form-horizontal" role="form" method="post">
    {% csrf_token %}
    <div class="form-group">
      <label for="firstname">用户名：</label>
      <input type="text" name="username" class="form-control" id="firstname" placeholder="用户名">
    </div>
    <div class="form-group">
      <label for="lastname">密码：</label>
      <input type="password" name="pwd" class="form-control" id="lastname" placeholder="密码">

    </div>
    <div class="form-group">
      <label for="lastname">昵称：</label>
      <input type="text" name="nickname" class="form-control" id="lastname" placeholder="昵称">
    </div>



    <div class="form-group">
      <button type="submit" class="btn btn-primary btn-block">注册</button>

    </div>
  </form>
{% endblock %}